From: Tobin C. Harding Date: Mon, 10 Apr 2017 03:15:59 +0000 (+1000) Subject: staging: ks7010: remove unused macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1e0aa795daf9b7adeb4fccb7394c12e39f31c020;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: ks7010: remove unused macro Macro CHECK_ALINE is defined and never used. Remove unused macro. Signed-off-by: Tobin C. Harding Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 47adc779565f..a505c4ec6f32 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -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;