f2fs: obsolete unused MAX_DISCARD_BLOCKS
authorChao Yu <chao.yu@oppo.com>
Sun, 24 Jul 2022 16:04:17 +0000 (00:04 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 31 Jul 2022 03:18:09 +0000 (20:18 -0700)
After commit a7eeb823854c ("f2fs: use bitmap in discard_entry"),
MAX_DISCARD_BLOCKS became obsolete, remove it.

Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h

index a19f4df..ecd870e 100644 (file)
@@ -230,7 +230,6 @@ enum {
 #define CP_PAUSE       0x00000040
 #define CP_RESIZE      0x00000080
 
-#define MAX_DISCARD_BLOCKS(sbi)                BLKS_PER_SEC(sbi)
 #define DEF_MAX_DISCARD_REQUEST                8       /* issue 8 discards per round */
 #define DEF_MIN_DISCARD_ISSUE_TIME     50      /* 50 ms, if exists */
 #define DEF_MID_DISCARD_ISSUE_TIME     500     /* 500 ms, if device busy */