lkml.org 
[lkml]   [2023]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH net-next][resend v1 1/2] net/core: Make use of assign_bit() API
    From
    From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Date: Mon, 10 Jul 2023 13:08:29 +0300

    > We have for some time the assign_bit() API to replace open coded
    >
    > if (foo)
    > set_bit(n, bar);
    > else
    > clear_bit(n, bar);
    >
    > Use this API in the code. No functional change intended.
    >
    > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
    Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>

    Thanks,
    Olek

    \
     
     \ /
      Last update: 2023-07-10 16:09    [W:4.524 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site