Skip to content
Commit 7b1a5e2f authored by Güngör Erseymen's avatar Güngör Erseymen Committed by Greg Kroah-Hartman
Browse files

staging: comedi: remove 'bi.subdevice < 0' check in do_bufinfo_ioctl()



Type of variable 'bi' is struct comedi_bufinfo and 'subdevice' is
defined as unsigned, so there is no need to check if it is less then
zero.

Signed-off-by: default avatarGüngör Erseymen <gelurine@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 11f80ddf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment