diff options
| author | sri-mohan1 <sri.mohan@samsung.com> | 2024-03-14 14:34:31 +0530 | 
|---|---|---|
| committer | sri-mohan1 <sri.mohan@samsung.com> | 2024-03-15 10:30:23 +0530 | 
| commit | efbf981d3f915d8d07476872f21f9b5dd4229553 (patch) | |
| tree | ae3a140ea976286040946cb495e8f826f77ba68c /zebra/zebra_dplane.c | |
| parent | 19a0211b73f5373f9fe28fed4bdd942e4e1b29ee (diff) | |
zebra: changes for code maintainability
these changes are for improving the code maintainability and readability
Signed-off-by: sri-mohan1 <sri.mohan@samsung.com>
Diffstat (limited to 'zebra/zebra_dplane.c')
| -rw-r--r-- | zebra/zebra_dplane.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 99693a5874..006ab504ef 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -6351,7 +6351,7 @@ dplane_provider_dequeue_out_ctx(struct zebra_dplane_provider *prov)   */  bool dplane_provider_is_threaded(const struct zebra_dplane_provider *prov)  { -	return (prov->dp_flags & DPLANE_PROV_FLAG_THREADED); +	return CHECK_FLAG(prov->dp_flags, DPLANE_PROV_FLAG_THREADED);  }  #ifdef HAVE_NETLINK  | 
