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

Commit a3a92209 authored by Adam Radford's avatar Adam Radford Committed by James Bottomley
Browse files

[SCSI] megaraid_sas: Remove duplicate code

parent 8ead5816
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5241,7 +5241,6 @@ megasas_aen_polling(struct work_struct *work)

		case MR_EVT_PD_REMOVED:
			if (megasas_get_pd_list(instance) == 0) {
			megasas_get_pd_list(instance);
			for (i = 0; i < MEGASAS_MAX_PD_CHANNELS; i++) {
				for (j = 0;
				j < MEGASAS_MAX_DEV_PER_CHANNEL;
+0 −2
Original line number Diff line number Diff line
@@ -1733,8 +1733,6 @@ complete_cmd_fusion(struct megasas_instance *instance, u32 MSIxIndex)
	if (reply_descript_type == MPI2_RPY_DESCRIPT_FLAGS_UNUSED)
		return IRQ_NONE;

	d_val.word = desc->Words;

	num_completed = 0;

	while ((d_val.u.low != UINT_MAX) && (d_val.u.high != UINT_MAX)) {