net/bnxt: fix unnecessary memory allocation