[PATCH 075/115] staging: ced1401: fix ced_disconnect()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rename camel case locals in function ced_disconnect()

Signed-off-by: Luca Ellero <luca.ellero@xxxxxxxxxxxxxxxx>
---
 drivers/staging/ced1401/usb1401.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ced1401/usb1401.c b/drivers/staging/ced1401/usb1401.c
index 169638e..479c674 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);
 	}
-- 
1.7.10.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux