Skip to contentSkip to conversation

block: remove the deprecated ub driver

PATCH In review Cong Wang 3 participants 3 messages Aug 25, 2012 – Aug 26, 2012

Subsystems (5)
lore
Share & tools
lore

Cong Wang

author
#0 lore raw

PATCH 1/1 block: remove the deprecated ub driver

From: Cong Wang <[email protected]>

It is scheduled to be removed in 3.6.

Cc Jens Axboe <[email protected]>
Cc Sebastian Andrzej Siewior <[email protected]>

---

Documentation/feature-removal-schedule.txt +0 -11
index afaff31..b9aa38b 100644
@@ -495,17 +495,6 @@ Who:	Bjorn Helgaas <[email protected]>
 
 ----------------------------
 
-What:	Low Performance USB Block driver ("CONFIG_BLK_DEV_UB")
-When:	3.6
-Why:	This driver provides support for USB storage devices like "USB
-	sticks". As of now, it is deactivated in Debian, Fedora and
-        Ubuntu. All current users can switch over to usb-storage
-        (CONFIG_USB_STORAGE) which only drawback is the additional SCSI
-        stack.
-Who:	Sebastian Andrzej Siewior <[email protected]>
-
-----------------------------
-
 What:	get_robust_list syscall
 When:	2013
 Why:	There appear to be no production users of the get_robust_list syscall,
arch/arm/configs/s3c2410_defconfig +0 -1
index 193448f..bb5f8bd 100644
@@ -217,7 +217,6 @@ CONFIG_PARPORT_AX88796=m
 CONFIG_PARPORT_1284=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_NBD=m
-CONFIG_BLK_DEV_UB=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_ATA_OVER_ETH=m
 CONFIG_IDE=y
arch/mips/configs/db1200_defconfig +0 -1
index 1f69249..17d1995 100644
@@ -53,7 +53,6 @@ CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_PLATFORM=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_UB=y
 # CONFIG_MISC_DEVICES is not set
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECS=y
arch/mips/configs/db1300_defconfig +0 -1
index 3590ab5..ae72103 100644
@@ -195,7 +195,6 @@ CONFIG_MTD_NAND_IDS=y
 CONFIG_MTD_NAND_PLATFORM=y
 CONFIG_BLK_DEV=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_UB=y
 CONFIG_HAVE_IDE=y
 CONFIG_IDE=y
 CONFIG_IDE_GD=y
arch/mips/configs/pb1100_defconfig +0 -1
index 75eb1b1..4ce5817 100644
@@ -52,7 +52,6 @@ CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_AMDSTD=y
 CONFIG_MTD_PHYSMAP=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_UB=y
 # CONFIG_MISC_DEVICES is not set
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECS=y
arch/mips/configs/pb1500_defconfig +0 -1
index fa00487..66f5c2f 100644
@@ -52,7 +52,6 @@ CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_AMDSTD=y
 CONFIG_MTD_PHYSMAP=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_UB=y
 # CONFIG_MISC_DEVICES is not set
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECS=y
arch/mips/configs/pb1550_defconfig +0 -1
index e83d649..6830c48 100644
@@ -53,7 +53,6 @@ CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_AU1550=y
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_UB=y
 # CONFIG_MISC_DEVICES is not set
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECS=y
arch/mips/configs/rm200_defconfig +0 -1
index 2c0230e..ecc46c7 100644
@@ -215,7 +215,6 @@ CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_CRYPTOLOOP=m
 CONFIG_BLK_DEV_NBD=m
 CONFIG_BLK_DEV_SX8=m
-CONFIG_BLK_DEV_UB=m
 CONFIG_BLK_DEV_RAM=m
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
arch/powerpc/configs/pmac32_defconfig +0 -1
index f8b394a..4f9f271 100644
@@ -131,7 +131,6 @@ CONFIG_CONNECTOR=y
 CONFIG_PROC_DEVICETREE=y
 CONFIG_MAC_FLOPPY=m
 CONFIG_BLK_DEV_LOOP=y
-CONFIG_BLK_DEV_UB=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECS=m
drivers/block/Kconfig +0 -12
index a796407..f529407 100644
@@ -353,18 +353,6 @@ config BLK_DEV_SX8
 
 	  Use devices /dev/sx8/$N and /dev/sx8/$Np$M.
 
-config BLK_DEV_UB
-	tristate "Low Performance USB Block driver (deprecated)"
-	depends on USB
-	help
-	  This driver supports certain USB attached storage devices
-	  such as flash keys.
-
-	  If you enable this driver, it is recommended to avoid conflicts
-	  with usb-storage by enabling USB_LIBUSUAL.
-
-	  If unsure, say N.
-
 config BLK_DEV_RAM
 	tristate "RAM block device support"
 	---help---
drivers/block/Makefile +0 -1
index 5b79505..17e82df 100644
@@ -33,7 +33,6 @@ obj-$(CONFIG_VIRTIO_BLK)	+= virtio_blk.o
 
 obj-$(CONFIG_VIODASD)		+= viodasd.o
 obj-$(CONFIG_BLK_DEV_SX8)	+= sx8.o
-obj-$(CONFIG_BLK_DEV_UB)	+= ub.o
 obj-$(CONFIG_BLK_DEV_HD)	+= hd.o
 
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= xen-blkfront.o
drivers/block/ub.c deleted +0 -2474

2,474 lines not on this page · raw message

#1 lore raw
Quoted 3 lines · Cong Wang

From: Cong Wang <[email protected]>

It is scheduled to be removed in 3.6.

This should go via Greg and linux-usb and you should put Pete Zaitcev on Cc. I have a patch in my try doing this and removing the libusual which is obsolete since there is only one driver for USB storage.
I would not remove the config option from all these defconfigs. Once this symbol is gone, it will vanish from defconfigs all by itself once they update their defconfigs and this patch does not clash with them.

Sebastian

#2 lore raw
Quoted 6 lines · Sebastian Andrzej Siewior
Quoted 3 lines · Cong Wang

From: Cong Wang <[email protected]>

It is scheduled to be removed in 3.6.

This should go via Greg and linux-usb and you should put Pete Zaitcev on Cc.

Will do.

Quoted 6 lines

I have a patch in my try doing this and removing the libusual which is obsolete since there is only one driver for USB storage.
I would not remove the config option from all these defconfigs. Once this symbol is gone, it will vanish from defconfigs all by itself once they update their defconfigs and this patch does not clash with them.

Makes sense. I will send an updated patch.

Thanks!