diff --git a/[refs] b/[refs] index 9b21805e9b55..dc30e87e9793 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 50d36a93dc2c773c9625c62275b88ac936d9c4ba +refs/heads/master: c0feed87fe452c20681ae29909adaecedd1ec9f3 diff --git a/trunk/drivers/net/tehuti.c b/trunk/drivers/net/tehuti.c index 093807a182f2..3c2679cd196b 100644 --- a/trunk/drivers/net/tehuti.c +++ b/trunk/drivers/net/tehuti.c @@ -948,8 +948,7 @@ static void print_rxfd(struct rxf_desc *rxfd); static void bdx_rxdb_destroy(struct rxdb *db) { - if (db) - vfree(db); + vfree(db); } static struct rxdb *bdx_rxdb_create(int nelem) @@ -1482,10 +1481,8 @@ static void bdx_tx_db_close(struct txdb *d) { BDX_ASSERT(d == NULL); - if (d->start) { - vfree(d->start); - d->start = NULL; - } + vfree(d->start); + d->start = NULL; } /*************************************************************************