From: Luca Ellero Date: Thu, 10 Jul 2014 09:02:06 +0000 (+0200) Subject: staging: ced1401: fix ced_disconnect() X-Git-Tag: firefly_0821_release~176^2~3491^2~1005 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bcdf1d36ef19724dd7d50aff78201cd1727f68d1;p=firefly-linux-kernel-4.4.55.git staging: ced1401: fix ced_disconnect() Rename camel case locals in function ced_disconnect() Signed-off-by: Luca Ellero Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c index c8685c1a87cb..26e5f1b77cf8 100644 --- a/drivers/staging/ced1401/usb1401.c +++ b/drivers/staging/ced1401/usb1401.c @@ -1628,8 +1628,8 @@ static void ced_disconnect(struct usb_interface *interface) mutex_lock(&ced->io_mutex); /* stop more I/O starting while... */ ced_draw_down(ced); /* ...wait for then kill any io */ for (i = 0; i < MAX_TRANSAREAS; ++i) { - int iErr = ced_clear_area(ced, i); /* ...release any used memory */ - if (iErr == U14ERR_UNLOCKFAIL) + int err = ced_clear_area(ced, i); /* ...release any used memory */ + if (err == U14ERR_UNLOCKFAIL) dev_err(&ced->interface->dev, "%s: Area %d was in used\n", __func__, i); }