summaryrefslogtreecommitdiff
path: root/lib/rwsem-spinlock.c
diff options
context:
space:
mode:
authorRupesh Gujare <rupesh.gujare@atmel.com>2013-08-23 15:11:01 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-23 17:12:32 (GMT)
commitdfc065f19fe0ce4ef7a52011801c5c19131e6529 (patch)
treed5bd9275b39e989ad4e5b4df66159c0925b3e114 /lib/rwsem-spinlock.c
parent9efed32c223a0dabebeeeca7c1b3cdafb97fbde4 (diff)
downloadlinux-fsl-qoriq-dfc065f19fe0ce4ef7a52011801c5c19131e6529.tar.xz
staging: ozwpan: Fix wrong error check.
schedule_work() returns true if succeeded & false on failure, error check was doing exactly reverse. Also removes extra variable. Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/rwsem-spinlock.c')
0 files changed, 0 insertions, 0 deletions