summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2013-11-11 13:26:07 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-27 11:11:28 -0800
commit0f1d4ce5d0d09de5db92df7f51cdf7163bbb61f9 (patch)
treea346ea28a231a53e8863662759a81ee314427421 /drivers/misc
parentdc844b0d99b8533d6174e5b9a369f7c2cdacfe66 (diff)
mei: drop redundant list_del_init
list_del_init appears twice in row in mei_cl_unlink, drop one. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mei/client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c
index 87c96e4669e..6184e854ae1 100644
--- a/drivers/misc/mei/client.c
+++ b/drivers/misc/mei/client.c
@@ -344,8 +344,6 @@ int mei_cl_unlink(struct mei_cl *cl)
cl->state = MEI_FILE_INITIALIZING;
- list_del_init(&cl->link);
-
return 0;
}