diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2016-09-28 20:19:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-02 17:03:52 +0200 |
commit | 684b2e087fa6ce45f8cfd6e672cf1ee4f24abffa (patch) | |
tree | b5508c4d7c2225bb951ad190b2d0ae9cc8e13d09 /drivers/staging/wlan-ng/hfa384x_usb.c | |
parent | staging: wlang-ng: avoid new typedef: hfa384x_usb_rmemreq_t (diff) | |
download | linux-dev-684b2e087fa6ce45f8cfd6e672cf1ee4f24abffa.tar.xz linux-dev-684b2e087fa6ce45f8cfd6e672cf1ee4f24abffa.zip |
staging: wlang-ng: avoid new typedef: hfa384x_usb_rxfrm_t
This patch fixes the following checkpatch.pl warning in hfa384x.h:
WARNING: do not add new typedefs
It applies for typedef hfa384x_usb_rxfrm_t
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/hfa384x_usb.c')
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x_usb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index f1809af0b760..76d1223f812f 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -154,7 +154,7 @@ static void dbprint_urb(struct urb *urb); #endif static void -hfa384x_int_rxmonitor(struct wlandevice *wlandev, hfa384x_usb_rxfrm_t *rxfrm); +hfa384x_int_rxmonitor(struct wlandevice *wlandev, struct hfa384x_usb_rxfrm *rxfrm); static void hfa384x_usb_defer(struct work_struct *data); @@ -3417,7 +3417,7 @@ static void hfa384x_usbin_rx(struct wlandevice *wlandev, struct sk_buff *skb) * interrupt ----------------------------------------------------------------*/ static void hfa384x_int_rxmonitor(struct wlandevice *wlandev, - hfa384x_usb_rxfrm_t *rxfrm) + struct hfa384x_usb_rxfrm *rxfrm) { struct hfa384x_rx_frame *rxdesc = &(rxfrm->desc); unsigned int hdrlen = 0; |