summaryrefslogtreecommitdiff
path: root/drivers/staging/ced1401
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-22 15:49:06 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 20:28:12 (GMT)
commitff549e4772c8bcb787077fbf67006bff5961f149 (patch)
tree8a50f365abd5dc59b4402ab40dcc0c3170dd0f5e /drivers/staging/ced1401
parent96a031a2dac72a54cbbd5edca7de4cd5b5ea1d44 (diff)
downloadlinux-fsl-qoriq-ff549e4772c8bcb787077fbf67006bff5961f149.tar.xz
staging: ced1401: remove an obvious commit about the minor number
in disconnect we assign the device minor number from the interface pointer to the localvarible minor, and then print it at the end, this code seems self explanatory so remove the comment of assigning the minor number to a local variable. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ced1401')
-rw-r--r--drivers/staging/ced1401/usb1401.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c
index 6ba0ef6..6000861 100644
--- a/drivers/staging/ced1401/usb1401.c
+++ b/drivers/staging/ced1401/usb1401.c
@@ -1537,7 +1537,7 @@ error:
static void ced_disconnect(struct usb_interface *interface)
{
DEVICE_EXTENSION *pdx = usb_get_intfdata(interface);
- int minor = interface->minor; // save for message at the end
+ int minor = interface->minor;
int i;
usb_set_intfdata(interface, NULL); // remove the pdx from the interface