usb: ftdi-elan: remove a unnecessary variable 'empty_packets'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Jan 2019 14:16:56 +0000 (22:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2019 09:02:49 +0000 (10:02 +0100)
commit04389af74d9129703c22609315ee7648d831dca0
treed7d89f27234c15984070a32ab576906034925c7b
parente36f8b7b7d2a93622c2e17a738e0fda59f64a71c
usb: ftdi-elan: remove a unnecessary variable 'empty_packets'

The variable 'empty_packets' does not used in any other places
except for self increment, so it can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/ftdi-elan.c