usb: gadget: udc: renesas_usb3: remove unnecessary NULL check before phy_exit()
authorChen Ni <nichen@iscas.ac.cn>
Tue, 22 Apr 2025 07:37:14 +0000 (15:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 11:21:22 +0000 (13:21 +0200)
commit5cf4f055c5ae257cbfe142ffe9b4b3f7cc7d3d74
tree044f33818a9af958b9e8239b69c3269030a6692c
parent73fb0ec9436ae87bcae067ce35d6cdd72bade86c
usb: gadget: udc: renesas_usb3: remove unnecessary NULL check before phy_exit()

phy_exit() checks for NULL pointers internally.
Remove unneeded NULL check here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/r/20250422073714.1334380-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/renesas_usb3.c