Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92ef644e authored by Hareesh Gundu's avatar Hareesh Gundu
Browse files

adreno_tz: Remove unnecessary devfreq NULL check in tz_handler()



Caller of tz_handler() is having the NULL check for devfreq,So
we don’t need unnecessary NULL pointer check.

CRs-Fixed: 2046922
Change-Id: I42eb70ab19b4a5af193521d77bca86447a1ecdb8
Signed-off-by: default avatarHareesh Gundu <hareeshg@codeaurora.org>
parent c5685ec0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -534,8 +534,6 @@ static int tz_handler(struct devfreq *devfreq, unsigned int event, void *data)
					(devfreq->profile),
					struct msm_adreno_extended_profile,
					profile);
	BUG_ON(devfreq == NULL);

	switch (event) {
	case DEVFREQ_GOV_START:
		result = tz_start(devfreq);