Re: [PATCH] drm/radeon: remove code that can never get executed

From: Henning Schild
Date: Mon Oct 13 2014 - 13:54:59 EST


On Mon, 13 Oct 2014 17:31:12 +0000
"Deucher, Alexander" <Alexander.Deucher@xxxxxxx> wrote:

> Ah, ok. The attached patches should do the trick then.

Yes that would do the trick. But i suggest doing the NULL initialization
in drm_edid_to_speaker_allocation.
The kernel doc suggests that whatever drm_edid_to_speaker_allocation
returns should be freed. Depending on which version you prefer, the
doc might have to be changed as well.

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