Message ID | 54A93B5A.9050504@users.sourceforge.net (mailing list archive) |
---|---|
State | Accepted |
Commit | 544c55c810a55dcfd2febbc33105642923be9192 |
Headers | show |
On Sun, Jan 04, 2015 at 02:08:42PM +0100, SF Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Sat, 3 Jan 2015 19:03:55 +0100 > > The sst_dma_free() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. I'm missing aptches 1-5, are there any dependencies?
At Mon, 5 Jan 2015 14:35:51 +0000, Mark Brown wrote: > > On Sun, Jan 04, 2015 at 02:08:42PM +0100, SF Markus Elfring wrote: > > From: Markus Elfring <elfring@users.sourceforge.net> > > Date: Sat, 3 Jan 2015 19:03:55 +0100 > > > > The sst_dma_free() function tests whether its argument is NULL and then > > returns immediately. Thus the test around the call is not needed. > > I'm missing aptches 1-5, are there any dependencies? No, all individual fixes. Takashi
On Mon, Jan 05, 2015 at 04:18:07PM +0100, Takashi Iwai wrote: > Mark Brown wrote: > > I'm missing aptches 1-5, are there any dependencies? > No, all individual fixes. OK. SF, in future please always send at least the cover letter to everyone getting patches in the series so they know what's going on.
On Sun, Jan 04, 2015 at 02:08:42PM +0100, SF Markus Elfring wrote: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Sat, 3 Jan 2015 19:03:55 +0100 > > The sst_dma_free() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. Applied, thanks.
diff --git a/sound/soc/intel/sst-dsp.c b/sound/soc/intel/sst-dsp.c index 86e4108..64e9421 100644 --- a/sound/soc/intel/sst-dsp.c +++ b/sound/soc/intel/sst-dsp.c @@ -410,8 +410,7 @@ void sst_dsp_free(struct sst_dsp *sst) if (sst->ops->free) sst->ops->free(sst); - if (sst->dma) - sst_dma_free(sst->dma); + sst_dma_free(sst->dma); } EXPORT_SYMBOL_GPL(sst_dsp_free);