net/sfc/base: fix comparison always true warning