[qca-nss-dp] Add check for tpd before the usage

Add NULL check for the tpd pointer before using it.

Change-Id: I2f5d988a0c851b3a009f48a34c3bf0f69043d11c
Signed-off-by: Rakesh Nair <ranair@codeaurora.org>
1 file changed
tree: a0e458be420dd1f0ce4834a51de3d4c6359814d3
  1. edma.c
  2. edma.h
  3. edma_axi.c
  4. edma_ethtool.c
  5. edma_stats.c
  6. ess_edma.h
  7. Makefile