diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-08-25 18:32:56 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-08-25 14:46:42 -0600 |
| commit | 8e7ee0f6fa33934373c1c37e8cfb71cff2acea09 (patch) | |
| tree | d98dcc3b7df21ce5a350ea0ac64f6f01a666eca3 /drivers/block | |
| parent | floppy: Remove unused CROSS_64KB() macro from arch/ code (diff) | |
| download | linux-8e7ee0f6fa33934373c1c37e8cfb71cff2acea09.tar.gz linux-8e7ee0f6fa33934373c1c37e8cfb71cff2acea09.zip | |
floppy: Replace custom SZ_64K constant
There are only two headers using the K_64 custom constant. Moreover,
its usage tangles a code because the constant is defined in the C
file, while users are in the headers. Replace it with well defined
SZ_64K from sizes.h.
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250825163545.39303-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
| -rw-r--r-- | drivers/block/floppy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 24be0c2c4075..d769a223fcc8 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -233,8 +233,6 @@ static unsigned short virtual_dma_port = 0x3f0; irqreturn_t floppy_interrupt(int irq, void *dev_id); static int set_dor(int fdc, char mask, char data); -#define K_64 0x10000 /* 64KB */ - /* the following is the mask of allowed drives. By default units 2 and * 3 of both floppy controllers are disabled, because switching on the * motor of these drives causes system hangs on some PCI computers. drive |
