diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2024-09-03 10:25:37 +0000 |
|---|---|---|
| committer | Zhenlei Huang <zlei@FreeBSD.org> | 2024-09-03 10:25:37 +0000 |
| commit | 36ef39831fe0e89f0b1672340a44c4ac1183158e (patch) | |
| tree | dced5d4cc7bc70d48da56d20d5a0a421d3adfd8d /sys/dev/dpaa2/dpaa2_mc.c | |
| parent | af28fc3c191cf572f7def767c60fff59d48947df (diff) | |
Diffstat (limited to 'sys/dev/dpaa2/dpaa2_mc.c')
| -rw-r--r-- | sys/dev/dpaa2/dpaa2_mc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/dpaa2/dpaa2_mc.c b/sys/dev/dpaa2/dpaa2_mc.c index 66867a18068c..da8f8a077d6b 100644 --- a/sys/dev/dpaa2/dpaa2_mc.c +++ b/sys/dev/dpaa2/dpaa2_mc.c @@ -462,8 +462,6 @@ dpaa2_mc_manage_dev(device_t mcdev, device_t dpaa2_dev, uint32_t flags) return (EINVAL); di = malloc(sizeof(*di), M_DPAA2_MC, M_WAITOK | M_ZERO); - if (!di) - return (ENOMEM); di->dpaa2_dev = dpaa2_dev; di->flags = flags; di->owners = 0; |
