[PATCH] staging: comedi: usbdux: remove an unnecessary dev_info()
Ian Abbott
abbotti at mev.co.uk
Mon Apr 2 04:05:07 PDT 2012
On 2012-04-02 12:00, Ian Abbott wrote:
> usbdux_attach_common() prints two messages via dev_info() that shows a
> device has been attached. The first of these messages includes an index
> into a static array that the function determines by pointer subtraction,
> assuming the pointer passed to the function points to an element of the
> array. Dan Carpenter pointed out that this was kind of ugly. Since the
> dev_info() that prints the array index doesn't add anything useful
> (since no other messages print the array index and nothing else uses
> it), let's just get rid of it.
>
> Signed-off-by: Ian Abbott<abbotti at mev.co.uk>
In case the threading gets mixed up, this should be applied after my
[PATCH 10/10 staging: comedi: usbdux: use attach_usb() hook
<http://driverdev.linuxdriverproject.org/pipermail/devel/2012-March/025339.html>
--
-=( 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