summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-04-02 12:00:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-10 11:23:35 -0700
commitb3f79f980a07fabe22d553fb75010d5d0a12c943 (patch)
treeec022683e35b1a502fa927ea3f5e878daf7ef80b /kernel
parent5a613d6460cdf311a2637aa29919ccb48bb402be (diff)
staging: comedi: usbdux: remove an unnecessary dev_info()
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@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions