summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-01-11 13:00:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-12 16:17:30 +0100
commit67e05094c1de66e305844974c89e12bfece11538 (patch)
tree7b1b1ea7116ad81cbe99f823d41c7e13eaa7fa19 /include
parent114ee6ebecba79207dde813a3bd57832111cb6d1 (diff)
downloadbarebox-67e05094c1de66e305844974c89e12bfece11538.tar.gz
driver: drop no longer used RW_SIZE/_MASK macros
O_RWSIZE_MASK is what's now used and it's passed as argument to open. There remain no users of either RW_SIZE or RW_SIZE_MASK. Remove to avoid confusion. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230111120002.1104864-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/driver.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/driver.h b/include/driver.h
index aea8df3acd..4c2424f85e 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -128,9 +128,6 @@ struct driver {
#define device_d device
#define driver_d driver
-#define RW_SIZE(x) (x)
-#define RW_SIZE_MASK 0x7
-
/* dynamically assign the next free id */
#define DEVICE_ID_DYNAMIC -2
/* do not use an id (only one device available */