@@ -77,10 +77,6 @@ static DECLARE_WORK(pstore_work, pstore_dowork);
DEFINE_MUTEX(psback_lock);
struct pstore_backends *psback;
-static char *backend;
-module_param(backend, charp, 0444);
-MODULE_PARM_DESC(backend, "specific backend to use");
-
static char *compress =
#ifdef CONFIG_PSTORE_COMPRESS_DEFAULT
CONFIG_PSTORE_COMPRESS_DEFAULT;
@@ -675,12 +671,6 @@ int pstore_register(struct pstore_info *psi)
/* Start watching for new records, if desired. */
pstore_timer_kick();
- /*
- * Update the module parameter backend, so it is visible
- * through /sys/module/pstore/parameters/backend
- */
- backend = kstrdup(psi->name, GFP_KERNEL);
-
pr_info("Registered %s as persistent store backend\n", psi->name);
mutex_unlock(&psback_lock);