From: Ian Abbott Date: Fri, 2 May 2014 12:50:13 +0000 (+0100) Subject: staging: comedi: remove redundant pointer dereference in comedi_poll() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1040 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ce016d0986ae618e0686489ad7b858fa13b885d;p=pandora-kernel.git 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed