Skip to content

staging: vt6656: Refactor the vnt_vt3184_init function

Oscar Carter lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: vt6656: Remove duplicate code in vnt_vt3184_init functiondrivers/staging/vt6656/baseband.c+12 -400 replies
2/2staging: vt6656: Remove unnecessary local variable initializationdrivers/staging/vt6656/baseband.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] staging: vt6656: Refactor the vnt_vt3184_init function

This patch series makes a refactor of the vnt_vt3184_init function through two patches.

The first one removes duplicate code in the if statements because different branches are almost the same.

The second patch remove unnecessary local variable initialization.

Oscar Carter (2):
staging: vt6656: Remove duplicate code in vnt_vt3184_init function
staging: vt6656: Remove unnecessary local variable initialization

 drivers/staging/vt6656/baseband.c | 54 ++++++++-----------------------
 1 file changed, 13 insertions(+), 41 deletions(-)

--
2.20.1