Commit d695e441 authored by XU pengfei's avatar XU pengfei Committed by Mike Snitzer

dm: remove unnecessary (void*) conversion in event_callback()

Pointer variables of void * type do not require type cast.
Signed-off-by: default avatarXU pengfei <xupengfei@nfschina.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent a2f998a7
......@@ -2144,7 +2144,7 @@ static void event_callback(void *context)
{
unsigned long flags;
LIST_HEAD(uevents);
struct mapped_device *md = (struct mapped_device *) context;
struct mapped_device *md = context;
spin_lock_irqsave(&md->uevent_lock, flags);
list_splice_init(&md->uevent_list, &uevents);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment