summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-05-02 13:50:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-03 20:12:17 -0400
commit0ce016d0986ae618e0686489ad7b858fa13b885d (patch)
tree1fe330a814b1822cebc4bfb69b2a42c472e593ed /include/linux/timerqueue.h
parent6e2954e801d7d93fe6f54eff988ddf25836fee0a (diff)
staging: comedi: remove redundant pointer dereference in comedi_poll()
`s->async->subdevice` in `comedi_poll()` points to the same `struct comedi_subdevice` as `s`, so the double pointer reference is redundant. Just use `s`. (`s->async->subdevice` is initialized by `__comedi_device_postconfig_async()` in "drivers/staging/comedi/drivers.c" and doesn't change.) Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions