Found using checkpatch, removes one warning about line breaks after declarations. This is my first patch, feedback is welcome. I am submitting this as a test before moving to other subsystems to (hopefully) make more meaningful contributions. Signed-off-by: Nathan DSilva <expitau@xxxxxxxxx> --- drivers/staging/rtl8192e/rtllib_rx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index ecaa4dec3f94..397859c7f5b1 100644 --- a/drivers/staging/rtl8192e/rtllib_rx.c +++ b/drivers/staging/rtl8192e/rtllib_rx.c @@ -946,6 +946,7 @@ static int rtllib_rx_data_filter(struct rtllib_device *ieee, struct ieee80211_hd { u8 type, stype; u16 fc = le16_to_cpu(hdr->frame_control); + type = WLAN_FC_GET_TYPE(fc); stype = WLAN_FC_GET_STYPE(fc); -- 2.43.0