[U-Boot] [PATCH 1/1] usb: xhci-ring: remove superfluous assignment

Bin Meng bmeng.cn at gmail.com
Mon Mar 19 03:00:33 UTC 2018


On Sun, Mar 18, 2018 at 9:01 PM, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> No need to set a variable to NULL if the next use is an assignment.
> Do not define variables in the middle of nowhere.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/usb/host/xhci-ring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

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


More information about the U-Boot mailing list