aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-03-12 11:44:27 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-03-12 11:44:27 +0100
commit36530ba72afd7a1e33b4780faa898d28a1f9d9ee (patch)
tree6b823a3dbe63ff504c42200bc6855a9b55d22f82 /package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch
parent74ef848b96563f7682c647b352982511b4fb6e2a (diff)
downloadupstream-36530ba72afd7a1e33b4780faa898d28a1f9d9ee.tar.gz
upstream-36530ba72afd7a1e33b4780faa898d28a1f9d9ee.tar.bz2
upstream-36530ba72afd7a1e33b4780faa898d28a1f9d9ee.zip
mac80211: rt2x00: import and update pending patches
Imported from patchwork, patches marked with '=' have already been in our tree: [v3,1/4] cfg80211: add ratelimited variants of err and warn [v3,2/4] rt2x00: use ratelimited variants dev_warn/dev_err [v3,3/4] rt2x00: check number of EPROTO errors =[v3,4/4] rt2x00: do not print error when queue is full Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch')
-rw-r--r--package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch b/package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch
new file mode 100644
index 0000000000..53134a5bc3
--- /dev/null
+++ b/package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch
@@ -0,0 +1,34 @@
+From 2758f09b22bc08e89e0391486b2d707ad2479599 Mon Sep 17 00:00:00 2001
+From: Stanislaw Gruszka <sgruszka@redhat.com>
+Date: Sat, 9 Feb 2019 12:08:37 +0100
+X-Patchwork-Submitter: Stanislaw Gruszka <sgruszka@redhat.com>
+X-Patchwork-Id: 10804449
+X-Patchwork-Delegate: kvalo@adurom.com
+Subject: [PATCH 27/28] rt2x00: remove not used entry field
+
+Remove not used any longer queue_entry field and flag.
+
+Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
+---
+ drivers/net/wireless/ralink/rt2x00/rt2x00queue.h | 3 ---
+ 1 file changed, 3 deletions(-)
+
+--- a/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h
++++ b/drivers/net/wireless/ralink/rt2x00/rt2x00queue.h
+@@ -361,7 +361,6 @@ enum queue_entry_flags {
+ ENTRY_DATA_PENDING,
+ ENTRY_DATA_IO_FAILED,
+ ENTRY_DATA_STATUS_PENDING,
+- ENTRY_DATA_STATUS_SET,
+ };
+
+ /**
+@@ -387,8 +386,6 @@ struct queue_entry {
+
+ unsigned int entry_idx;
+
+- u32 status;
+-
+ void *priv_data;
+ };
+