[PATCH 1/1] usb: xhci: avoid type conversion of void *

Bin Meng bmeng.cn at gmail.com
Tue Oct 13 16:41:52 CEST 2020


On Wed, Sep 30, 2020 at 4:03 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> void * can be assigned to any pointer variable. Avoid unnecessary
> conversions.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/usb/host/xhci-mem.c | 21 +++++++++------------
>  1 file changed, 9 insertions(+), 12 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list