hfp_hf: Fix minor style issue from previous commit
authorDenis Kenzior <denkenz@gmail.com>
Tue, 1 Nov 2011 23:51:05 +0000 (18:51 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 1 Nov 2011 23:51:34 +0000 (18:51 -0500)
plugins/hfp_hf.c

index 7a3567e..c4c90ff 100644 (file)
@@ -246,9 +246,8 @@ static int hfp_hf_probe(const char *device, const char *dev_addr,
        return 0;
 
 free:
-       if (data != NULL) {
+       if (data != NULL)
                g_free(data->handsfree_path);
-       }
 
        g_free(data);
        ofono_modem_remove(modem);