usb: gadget: f_mass_storage: Remove obsolete version log
PATCH 1/1 usb: gadget: f_mass_storage: Remove obsolete version log
The mass-storage function prints the following message whenever a function instance is allocated:
Mass Storage Function, version: 2009/09/11
The hard-coded date does not identify the running kernel or provide useful diagnostic information.
Remove the message and the unused version definition.
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/usb/gadget/function/f_mass_storage.c | 3 --- 1 file changed, 3 deletions(-)
drivers/usb/gadget/function/f_mass_storage.c +0 -3
@@ -203,7 +203,6 @@/*------------------------------------------------------------------------*/ #define FSG_DRIVER_DESC "Mass Storage Function" -#define FSG_DRIVER_VERSION "2009/09/11"static const char fsg_string_interface[] ="Mass Storage" ;
@@ -3513,8 +3512,6 @@ static struct usb_function_instance *fsg_alloc_inst(void)if (rc) goto release_common; -pr_info (FSG_DRIVER_DESC ", version: " FSG_DRIVER_VERSION "\n" ); -memset (&config,0 ,sizeof (config)); config.removable = true; rc = fsg_common_create_lun(opts->common, &config, 0, "lun.0",
Signature · 1 line
2.43.0