Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270454

Re: [PATCH] USB-EHCI: Delete unnecessary checks before the function call "dma_pool_destroy"

From Alan Stern <stern@rowland.harvard.edu>
Newsgroups linux.kernel
Subject Re: [PATCH] USB-EHCI: Delete unnecessary checks before the function call "dma_pool_destroy"
Date 2015-11-16 19:40 +0100
Message-ID <qvwR3-2pG-7@gated-at.bofh.it> (permalink)
References <qvwo2-2fL-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 16 Nov 2015, SF Markus Elfring wrote:

> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 16 Nov 2015 19:01:44 +0100
> 
> The dma_pool_destroy() function tests whether its argument is NULL
> and then returns immediately. Thus the test around the calls is not needed.
> 
> This issue was detected by using the Coccinelle software.
> 
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>

Acked-by: Alan Stern <stern@rowland.harvard.edu>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] USB-EHCI: Delete unnecessary checks before the function call  "dma_pool_destroy" SF Markus Elfring <elfring@users.sourceforge.net> - 2015-11-16 19:10 +0100
  Re: [PATCH] USB-EHCI: Delete unnecessary checks before the function  call "dma_pool_destroy" Alan Stern <stern@rowland.harvard.edu> - 2015-11-16 19:40 +0100

csiph-web