lkml.org 
[lkml]   [2022]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] ASoC: Intel: Skylake: remove redundant re-assignments to pointer array
    From
    Date
    On Tue, 2022-06-14 at 19:38 +0100, Colin Ian King wrote:
    > There are two occurrences where the pointer array is being assigned a
    > value
    > that is never read, the pointer gets updated in the next iteration of
    > a
    > loop. These assignments are redundant and can be removed.
    >
    > Cleans up clang scan-build warnings:
    > sound/soc/intel/skylake/skl-topology.c:2953:3: warning: Value stored
    > to
    > 'array' is never read [deadcode.DeadStores]
    > sound/soc/intel/skylake/skl-topology.c:3602:3: warning: Value stored
    > to
    > 'array' is never read [deadcode.DeadStores]
    >
    > Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

    LGTM, thanks!

    Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>

    \
     
     \ /
      Last update: 2022-06-14 20:55    [W:3.697 / U:1.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site