aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-09 11:44:41 +0800
committerDmitry Baryshkov <[email protected]>2023-10-09 12:17:45 +0300
commit7d8830bb6029830fc48a9f3cfc6ea573740beb2a (patch)
tree52363ead4c08c9e9b078ebb555d777aeb6ce6931 /net/switchdev/switchdev.c
parent5a9d50150c2cd2dcc72729c14a0035b234c0a4cc (diff)
drm/msm: Remove unnecessary NULL values
The NULL initialization of the pointers assigned by kzalloc() first is not necessary, because if the kzalloc() failed, the pointers will be assigned NULL, otherwise it works as usual. so remove it. Signed-off-by: Ruan Jinjie <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/551872/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions