diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-08-25 18:32:55 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-08-25 14:46:42 -0600 |
| commit | d74968780bf287958e2815be5f088dd6c7b7aa19 (patch) | |
| tree | daed36b00bdbe47b2d93e247417a4cb26a5765e5 /arch/alpha/include | |
| parent | f5d10e6915d80f7f4c4ed445a8b8ba4a5ee79318 (diff) | |
| download | linux-d74968780bf287958e2815be5f088dd6c7b7aa19.tar.gz linux-d74968780bf287958e2815be5f088dd6c7b7aa19.tar.bz2 linux-d74968780bf287958e2815be5f088dd6c7b7aa19.zip | |
floppy: Remove unused CROSS_64KB() macro from arch/ code
Since the commit 3d86739c6343 ("floppy: always use the track buffer")
the CROSS_64KB() is not used by the driver, remove the leftovers.
Acked-by: Helge Deller <deller@gmx.de> #parisc
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> # m68k
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250825163545.39303-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/alpha/include')
| -rw-r--r-- | arch/alpha/include/asm/floppy.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/alpha/include/asm/floppy.h b/arch/alpha/include/asm/floppy.h index 64b42d9591fc..5a6239e65097 100644 --- a/arch/alpha/include/asm/floppy.h +++ b/arch/alpha/include/asm/floppy.h @@ -90,25 +90,6 @@ static int FDC2 = -1; #define N_FDC 2 #define N_DRIVE 8 -/* - * Most Alphas have no problems with floppy DMA crossing 64k borders, - * except for certain ones, like XL and RUFFIAN. - * - * However, the test is simple and fast, and this *is* floppy, after all, - * so we do it for all platforms, just to make sure. - * - * This is advantageous in other circumstances as well, as in moving - * about the PCI DMA windows and forcing the floppy to start doing - * scatter-gather when it never had before, and there *is* a problem - * on that platform... ;-} - */ - -static inline unsigned long CROSS_64KB(void *a, unsigned long s) -{ - unsigned long p = (unsigned long)a; - return ((p + s - 1) ^ p) & ~0xffffUL; -} - #define EXTRA_FLOPPY_PARAMS #endif /* __ASM_ALPHA_FLOPPY_H */ |
