]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: comedi: ni_mio_common: remove variable 'dl' in ni_ai_insn_read()
authorIan Abbott <abbotti@mev.co.uk>
Mon, 14 Nov 2016 20:16:23 +0000 (20:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Nov 2016 10:04:21 +0000 (11:04 +0100)
commite3007002f119a72a85981533bde671936a68551b
tree3eca0cf76e6579f200f3419afee0080ce952b77e
parent857a661020a2de3a0304edf33ad656abee100891
staging: comedi: ni_mio_common: remove variable 'dl' in ni_ai_insn_read()

In `ni_ai_insn_read()`, local variable `dl` is declared as `unsigned
long`, but `unsigned int` will do.  Get rid of it and use local variable
`d` instead.  (That used to be `unsigned short`, but has been `unsigned
int` since kernel version 3.18.)

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c