When building an skb in non-linear mode, it is not likely nor unlikely
that the xdp buff has fragments, it depends on the size of the packet
received.
Signed-off-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
 
        page_ref_inc(head_wi->au->page);
 
-       if (unlikely(xdp_buff_has_frags(&mxbuf.xdp))) {
+       if (xdp_buff_has_frags(&mxbuf.xdp)) {
                int i;
 
                /* sinfo->nr_frags is reset by build_skb, calculate again. */