]> Git Repo - J-linux.git/commitdiff
net/ieee802154: remove unused macros to tame gcc
authorAlex Shi <[email protected]>
Fri, 6 Nov 2020 08:10:37 +0000 (16:10 +0800)
committerStefan Schmidt <[email protected]>
Fri, 6 Nov 2020 14:18:52 +0000 (15:18 +0100)
Signed-off-by: Alex Shi <[email protected]>
Cc: Alexander Aring <[email protected]>
Cc: Stefan Schmidt <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stefan Schmidt <[email protected]>
net/ieee802154/nl802154.c

index 7c5a1aa5adb422445184adadab9993a8f37cbaab..1cebdcedc48cb4a93b9f04c363885afe15a258ab 100644 (file)
@@ -2098,11 +2098,7 @@ static int nl802154_del_llsec_seclevel(struct sk_buff *skb,
 #define NL802154_FLAG_NEED_NETDEV      0x02
 #define NL802154_FLAG_NEED_RTNL                0x04
 #define NL802154_FLAG_CHECK_NETDEV_UP  0x08
-#define NL802154_FLAG_NEED_NETDEV_UP   (NL802154_FLAG_NEED_NETDEV |\
-                                        NL802154_FLAG_CHECK_NETDEV_UP)
 #define NL802154_FLAG_NEED_WPAN_DEV    0x10
-#define NL802154_FLAG_NEED_WPAN_DEV_UP (NL802154_FLAG_NEED_WPAN_DEV |\
-                                        NL802154_FLAG_CHECK_NETDEV_UP)
 
 static int nl802154_pre_doit(const struct genl_ops *ops, struct sk_buff *skb,
                             struct genl_info *info)
This page took 0.053013 seconds and 4 git commands to generate.