lkml.org 
[lkml]   [2020]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v2 2/3] ACPI / hotplug: Eject status trace and auto-remove approach
On Fri, Jan 03, 2020 at 04:40:13AM +0000, Chester Lin wrote:
> + eject_node = (struct eject_data *)adev->eject_stat;

No need for this cast.

You do that all over this patch, it can be removed everywhere.

thanks,

greg k-h

\
 
 \ /
  Last update: 2020-01-03 09:33    [W:0.063 / U:2.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site