]> git.sur5r.net Git - u-boot/blobdiff - drivers/nvme/nvme.h
nvme: Get rid of the global variable nvme_info
[u-boot] / drivers / nvme / nvme.h
index f0fa6399bf7cf16c11af5a8fbf3c0d12cc8d19be..67bf6e187fc6adbf5ed282667d1b7c6a26f2ee1a 100644 (file)
@@ -628,13 +628,6 @@ struct nvme_dev {
        u64 *prp_pool;
        u32 prp_entry_num;
        u32 nn;
-       u32 blk_dev_start;
-};
-
-struct nvme_info {
-       int ns_num;     /*the number of nvme namespaces*/
-       int ndev_num;   /*the number of nvme devices*/
-       struct list_head dev_list;
 };
 
 /*
@@ -652,6 +645,4 @@ struct nvme_ns {
        u32 mode_select_block_len;
 };
 
-extern struct nvme_info *nvme_info;
-
 #endif /* __DRIVER_NVME_H__ */