aboutsummaryrefslogtreecommitdiff
path: root/kernel/rtmutex-debug.c
diff options
context:
space:
mode:
authorJesper Juhl <[email protected]>2011-02-23 23:45:55 +0100
committerLiam Girdwood <[email protected]>2011-02-25 08:51:07 +0000
commit4b2f67d756cf4a5ed8e8d11caa7dcea06c41a09e (patch)
tree35a48fdafe807d07bbf685b589c290a49b3958a4 /kernel/rtmutex-debug.c
parent9ee291a453c1db310c0298f8e6c28794cd2c52bd (diff)
regulator, mc13xxx: Remove pointless test for unsigned less than zero
The variable 'val' is a 'unsigned int', so it can never be less than zero. This fact makes the "val < 0" part of the test done in BUG_ON() in mc13xxx_regulator_get_voltage() rather pointles since it can never have any effect. This patch removes the pointless test. Signed-off-by: Jesper Juhl <[email protected]> Acked-by: Alberto Panizzo <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'kernel/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions