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 <festevam@gmail.com>
Link: https://patch.msgid.link/20260721020957.81956-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Estevam 2026-07-20 23:09:57 -03:00 committed by Greg Kroah-Hartman
parent 205dc9cb39
commit 913910ed36

View File

@ -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",