Fixes "braces {} are not necessary for single statement blocks"
checkpatch.pl warnings in dgnc_sysfs.c
Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
        rc |= driver_create_file(driverfs, &driver_attr_debug);
        rc |= driver_create_file(driverfs, &driver_attr_rawreadok);
        rc |= driver_create_file(driverfs, &driver_attr_pollrate);
-       if (rc) {
+       if (rc)
                printk(KERN_ERR "DGNC: sysfs driver_create_file failed!\n");
-       }
 }
 
 
        rc |= device_create_file(&(bd->pdev->dev), &dev_attr_ports_txcount);
        rc |= device_create_file(&(bd->pdev->dev), &dev_attr_vpd);
        rc |= device_create_file(&(bd->pdev->dev), &dev_attr_serial_number);
-       if (rc) {
+       if (rc)
                printk(KERN_ERR "DGNC: sysfs device_create_file failed!\n");
-       }
 }