diff mbox series

[2/3] mmc-utils: Remove unused MMC_BLOCK_MAJOR

Message ID 20220205205647.7677-2-marius@FreeBSD.org
State New
Headers show
Series [1/3] mmc-utils: manpage: Document -c option for partitioning commands | expand

Commit Message

Marius Strobl Feb. 5, 2022, 8:56 p.m. UTC
It was added in commit 294bf86972d6 ("mmc-utils: Remove dependency on
linux/major.h.") but never actually used, apparently.

Signed-off-by: Marius Strobl <marius@FreeBSD.org>
---
 mmc.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Avri Altman Feb. 6, 2022, 7:48 a.m. UTC | #1
> It was added in commit 294bf86972d6 ("mmc-utils: Remove dependency on
> linux/major.h.") but never actually used, apparently.
> 
> Signed-off-by: Marius Strobl <marius@FreeBSD.org>
Looks good to me.

Thanks,
Avri

> ---
>  mmc.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/mmc.h b/mmc.h
> index e9766d7..2ff6e66 100644
> --- a/mmc.h
> +++ b/mmc.h
> @@ -19,9 +19,6 @@
> 
>  #include <linux/mmc/ioctl.h>
> 
> -/* From kernel linux/major.h */
> -#define MMC_BLOCK_MAJOR                        179
> -
>  /* From kernel linux/mmc/mmc.h */
>  #define MMC_SWITCH             6       /* ac   [31:0] See below        R1b */
>  #define MMC_SEND_EXT_CSD       8       /* adtc                         R1  */
> --
> 2.31.1
diff mbox series

Patch

diff --git a/mmc.h b/mmc.h
index e9766d7..2ff6e66 100644
--- a/mmc.h
+++ b/mmc.h
@@ -19,9 +19,6 @@ 
 
 #include <linux/mmc/ioctl.h>
 
-/* From kernel linux/major.h */
-#define MMC_BLOCK_MAJOR			179
-
 /* From kernel linux/mmc/mmc.h */
 #define MMC_SWITCH		6	/* ac	[31:0] See below	R1b */
 #define MMC_SEND_EXT_CSD	8	/* adtc				R1  */