diff options
author | Olaf Hering | 2020-08-19 11:05:09 +0200 |
---|---|---|
committer | Wei Liu | 2020-08-19 11:28:54 +0000 |
commit | 49971e6bad2da980686368baa34039907f62b516 (patch) | |
tree | 9b31effea54a51367554996688e66d83075fa45d /drivers/hv | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
drivers: hv: remove cast from hyperv_die_event
No need to cast a void pointer.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Link: https://lore.kernel.org/r/20200819090510.28995-1-olaf@aepfle.de
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/vmbus_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 910b6e90866c..187809977360 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -83,7 +83,7 @@ static int hyperv_panic_event(struct notifier_block *nb, unsigned long val, static int hyperv_die_event(struct notifier_block *nb, unsigned long val, void *args) { - struct die_args *die = (struct die_args *)args; + struct die_args *die = args; struct pt_regs *regs = die->regs; /* Don't notify Hyper-V if the die event is other than oops */ |