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

Commit 6fe1be02 authored by Rama Krishna Phani A's avatar Rama Krishna Phani A
Browse files

msm: ep_pcie: remove unnecessary check



Global structure cannot be NULL.
Remove unnecessary condition check.

Change-Id: Iae16753a69541767a840a799241f5e8bdd4ecca8
Signed-off-by: default avatarRama Krishna Phani A <rphani@codeaurora.org>
parent 58cbb103
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -695,7 +695,7 @@ static void ep_pcie_config_outbound_iatu_entry(struct ep_pcie_dev_t *dev,
static void ep_pcie_notify_event(struct ep_pcie_dev_t *dev,
					enum ep_pcie_event event)
{
	if (dev && dev->event_reg && dev->event_reg->callback &&
	if (dev->event_reg && dev->event_reg->callback &&
		(dev->event_reg->events & event)) {
			struct ep_pcie_notify *notify =
				&dev->event_reg->notify;