]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: sb105x: Remove redundant null check
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 19 Oct 2013 17:35:01 +0000 (23:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2013 21:53:45 +0000 (14:53 -0700)
commitdb9d33efb8b1bf50f9b39f0a36e3157a57e046a8
tree046be87c7df8bfda553bf3f4b3439b8a556a4459
parent750115557f9c994eda334ba41acd41503f348e52
Staging: sb105x: Remove redundant null check

This patch fixes the following Sparse information in sb_pci_mp.c-

~/git/kernels/linux/drivers/staging/sb105x/sb_pci_mp.c:1813
mp_unregister_driver() info: redundant null check on drv->state calling kfree()

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sb105x/sb_pci_mp.c