[PATCH net-next 2/3] r8152: fix the warnings and a error from checkpatch.pl

2014-01-08 Thread Hayes Wang
Fix the following warnings and error: - WARNING: usb_free_urb(NULL) is safe this check is probably not required - WARNING: kfree(NULL) is safe this check is probably not required - ERROR: do not use C99 // comments Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 42

[PATCH net-next 2/3] r8152: fix the warnings and a error from checkpatch.pl

2014-01-08 Thread Hayes Wang
Fix the following warnings and error: - WARNING: usb_free_urb(NULL) is safe this check is probably not required - WARNING: kfree(NULL) is safe this check is probably not required - ERROR: do not use C99 // comments Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c |