summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm724x/gdm_usb.h
diff options
context:
space:
mode:
authorQuytelda Kahja <quytelda@tamalin.org>2018-02-22 17:33:00 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-23 09:54:56 +0100
commit1b5e56ece3f50197e1c2748802963ba3d8363770 (patch)
tree91a5b1f1ab7ff8bd14f9a664a5e877eeba35563e /drivers/staging/gdm724x/gdm_usb.h
parent8db3656310f6eca749e4672ed6dba20c356a7c4c (diff)
downloadlinux-1b5e56ece3f50197e1c2748802963ba3d8363770.tar.bz2
Staging: gdm724x: Simplify the struct gdm_endian to a variable.
Since the testing for host endianness and in-driver conversion were removed in 77e8a50149a2, the gdm_endian struct contains only one member, and can therefore be simplified to a single u8 variable. Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/gdm_usb.h')
-rw-r--r--drivers/staging/gdm724x/gdm_usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/gdm724x/gdm_usb.h b/drivers/staging/gdm724x/gdm_usb.h
index ffb3d995097d..701038685e23 100644
--- a/drivers/staging/gdm724x/gdm_usb.h
+++ b/drivers/staging/gdm724x/gdm_usb.h
@@ -93,11 +93,11 @@ struct rx_cxt {
struct lte_udev {
struct usb_device *usbdev;
- struct gdm_endian gdm_ed;
struct tx_cxt tx;
struct rx_cxt rx;
struct delayed_work work_tx;
struct delayed_work work_rx;
+ u8 gdm_ed;
u8 send_complete;
u8 tx_stop;
struct usb_interface *intf;