summaryrefslogtreecommitdiffstats
path: root/net/wireless/pmsr.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-02-02 09:49:44 +0100
committerJohannes Berg <johannes.berg@intel.com>2022-02-04 16:26:16 +0100
commit1b198233a39d3c5e493bcb912e3806835dc6db28 (patch)
tree7b30adac9b2472b3ea6787fd000fe24d9545eede /net/wireless/pmsr.c
parentmac80211: airtime: avoid variable shadowing (diff)
downloadlinux-1b198233a39d3c5e493bcb912e3806835dc6db28.tar.xz
linux-1b198233a39d3c5e493bcb912e3806835dc6db28.zip
cfg80211: pmsr: remove useless ifdef guards
This isn't a header file, I guess I must've copied from the header file and forgotten to remove the guards. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20220202104617.330d03623b08.Idda91cd6f1c7bd865a50c47d408e5cdab0fd951f@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/pmsr.c')
-rw-r--r--net/wireless/pmsr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/wireless/pmsr.c b/net/wireless/pmsr.c
index 328cf54bda82..2bc647720cda 100644
--- a/net/wireless/pmsr.c
+++ b/net/wireless/pmsr.c
@@ -2,8 +2,6 @@
/*
* Copyright (C) 2018 - 2021 Intel Corporation
*/
-#ifndef __PMSR_H
-#define __PMSR_H
#include <net/cfg80211.h>
#include "core.h"
#include "nl80211.h"
@@ -661,5 +659,3 @@ void cfg80211_release_pmsr(struct wireless_dev *wdev, u32 portid)
}
spin_unlock_bh(&wdev->pmsr_lock);
}
-
-#endif /* __PMSR_H */