mt7601u: remove redefinition of GENMASK
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 31 Aug 2016 11:46:45 +0000 (12:46 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 9 Sep 2016 09:09:24 +0000 (12:09 +0300)
Remove redefinition of GENMASK which should not be there
in the upstream version of the code.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dinan Gunawardena <dinan.gunawardena@netronome.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/regs.h

index afd8978..27a429d 100644 (file)
 
 #include <linux/bitops.h>
 
-#ifndef GENMASK
-#define GENMASK(h, l)       (((U32_C(1) << ((h) - (l) + 1)) - 1) << (l))
-#endif
-
 #define MT_ASIC_VERSION                        0x0000
 
 #define MT76XX_REV_E3          0x22