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)
commit131ccc2e74ea42328d66c67bd7f9e993e48e2fdb
tree046be87c7df8bfda553bf3f4b3439b8a556a4459
parent056e0af2f5dd7c19176bd9d099cd9e9649be33f8
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