summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2013-11-11 12:26:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-27 20:11:28 +0100
commit0f1d4ce5d0d09de5db92df7f51cdf7163bbb61f9 (patch)
treea346ea28a231a53e8863662759a81ee314427421 /drivers/misc
parentmei: remove flash_work_queue (diff)
downloadlinux-0f1d4ce5d0d09de5db92df7f51cdf7163bbb61f9.tar.xz
linux-0f1d4ce5d0d09de5db92df7f51cdf7163bbb61f9.zip
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 87c96e4669e2..6184e854ae1e 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;
}