[PATCH 1/2] staging: comedi: remove 'bc.subdevice < 0' check in do_bufconfig_ioctl()

Ian Abbott abbotti at mev.co.uk
Mon Jun 10 09:17:47 UTC 2013


On 2013-06-07 19:29, Güngör Erseymen wrote:
> Type of variable 'bc' is struct comedi_bufconfig and 'subdevice' is
> defined as unsigned, so there is no need to check if it is less then
> zero.
>
> Signed-off-by: Güngör Erseymen <gelurine at gmail.com>

Acked-by: Ian Abbott <abbotti at mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-




More information about the devel mailing list