cfg80211: pmsr: remove useless ifdef guards
authorJohannes Berg <johannes.berg@intel.com>
Wed, 2 Feb 2022 08:49:44 +0000 (10:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 4 Feb 2022 15:26:16 +0000 (16:26 +0100)
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>
net/wireless/pmsr.c

index 328cf54bda8269a1f3643fae503637239232e78b..2bc647720cda5cc06c4f674425b67439b1fb4e68 100644 (file)
@@ -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 */