Skip to content

Commit e6b09a1

Browse files
committed
Merge tag 'nvme-6.11-2024-08-22' of git://git.infradead.org/nvme into block-6.11
Pull NVMe fixes from Keith: "nvme fixes for Linux 6.11 - Remove unused struct field (Nilay) - Fix fabrics keep-alive teardown order (Ming)" * tag 'nvme-6.11-2024-08-22' of git://git.infradead.org/nvme: nvme: Remove unused field nvme: move stopping keep-alive into nvme_uninit_ctrl()
2 parents 81475be + fe01751 commit e6b09a1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

drivers/nvme/host/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4612,7 +4612,6 @@ void nvme_stop_ctrl(struct nvme_ctrl *ctrl)
46124612
{
46134613
nvme_mpath_stop(ctrl);
46144614
nvme_auth_stop(ctrl);
4615-
nvme_stop_keep_alive(ctrl);
46164615
nvme_stop_failfast_work(ctrl);
46174616
flush_work(&ctrl->async_event_work);
46184617
cancel_work_sync(&ctrl->fw_act_work);
@@ -4648,6 +4647,7 @@ EXPORT_SYMBOL_GPL(nvme_start_ctrl);
46484647

46494648
void nvme_uninit_ctrl(struct nvme_ctrl *ctrl)
46504649
{
4650+
nvme_stop_keep_alive(ctrl);
46514651
nvme_hwmon_exit(ctrl);
46524652
nvme_fault_inject_fini(&ctrl->fault_inject);
46534653
dev_pm_qos_hide_latency_tolerance(ctrl->device);

drivers/nvme/host/nvme.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ struct nvme_ctrl {
301301

302302
struct opal_dev *opal_dev;
303303

304-
char name[12];
305304
u16 cntlid;
306305

307306
u16 mtfa;

0 commit comments

Comments
 (0)