staging: ks7010: remove unused macro
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:59 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:14:33 +0000 (16:14 +0200)
Macro CHECK_ALINE is defined and never used.

Remove unused macro.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index 47adc779565f03b7d23b5b9937ec7280d8c78d30..a505c4ec6f32b175f645fa1db0de9bf4dfdec4c9 100644 (file)
@@ -1101,8 +1101,6 @@ void hostif_event_check(struct ks_wlan_private *priv)
        priv->hostt.qtail = (priv->hostt.qtail + 1) % SME_EVENT_BUFF_SIZE;
 }
 
-#define CHECK_ALINE(size) (size % 4 ? (size + (4 - (size % 4))) : size)
-
 int hostif_data_request(struct ks_wlan_private *priv, struct sk_buff *skb)
 {
        unsigned int skb_len = 0;