USB: serial: digi_acceleport: remove redundant assignment to pointer priv
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Feb 2020 16:46:01 +0000 (16:46 +0000)
committerJohan Hovold <johan@kernel.org>
Mon, 10 Feb 2020 09:38:54 +0000 (10:38 +0100)
commit2c0bee081315b18064fe39661e679b2fe6b86476
treed8dd4dec15dbcba0abc974935bb9c97ab2f2f9df
parent32553441569482e36e65371edb84494bcec53c03
USB: serial: digi_acceleport: remove redundant assignment to pointer priv

Pointer priv is being assigned with a value that is never read, it is
assigned a new value later on in a for-loop. The assignment is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/digi_acceleport.c