drivers: ieee802154_nrf5: Remove unnecessary NULL pointer check
After changes in commit a42d6c98d3
, the
pkt can no longer be a NULL pointer. Remove the unnecessary NULL pointer
check to silence the Coverity.
Coverity ID: 219536
Fixes #32912
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
55c4db9c4c
commit
a586f5818c
1 changed files with 1 additions and 3 deletions
|
@ -199,11 +199,9 @@ drop:
|
|||
nrf_802154_buffer_free_raw(rx_frame->psdu);
|
||||
rx_frame->psdu = NULL;
|
||||
|
||||
if (pkt) {
|
||||
net_pkt_unref(pkt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void nrf5_get_capabilities_at_boot(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue