staging:media: remove assignment in if condition
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 1 Mar 2014 20:48:38 +0000 (02:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 21:14:14 +0000 (13:14 -0800)
commit41df49e0ca9582bf228d4ae6960201a792bbdbf5
treed44d827dcd643ce3303c4f4d43421fad0596e353
parentbaf8aea4e9a7f1228e4a415fe2bb1bc8ef151e8f
staging:media: remove assignment in if condition

This patch removes the assignment in if conditions to do away with the
checkpatch warning :'do not use assignment in if condition'.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/sn9c102/sn9c102_core.c