qcacld-2.0: Remove error print from kmsg

Remove error print from kmsg as this print is unnecessary and
may flood the kmsg.

Change-Id: I0978f88af6677cb0c1e1db5eae7e5d6a69bd4b70
CRs-Fixed: 997243
This commit is contained in:
Himanshu Agarwal 2016-03-31 11:37:04 +05:30 committed by syphyr
parent 6b9518faf6
commit d9f3dc97b1

View file

@ -278,11 +278,8 @@ uint64_t ol_rx_get_fwd_to_tx_packet_count(uint8_t vdev_id)
struct ol_txrx_vdev_t *vdev = NULL;
vdev = (struct ol_txrx_vdev_t *)ol_txrx_get_vdev_from_vdev_id(vdev_id);
if (!vdev) {
TXRX_PRINT(TXRX_PRINT_LEVEL_ERR,
"%s: vdev is NULL for vdev id %d", __func__, vdev_id);
if (!vdev)
return 0;
}
return vdev->fwd_to_tx_packets;
}