From c4cfa34a6357e76df9d3aa9d3e785175d2abb76c Mon Sep 17 00:00:00 2001 From: Laurent MEUNIER Date: Wed, 16 Nov 2016 09:39:57 +0100 Subject: [PATCH] remove unused module member in spi_s struct --- targets/TARGET_STM/TARGET_STM32F0/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32F1/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32F2/objects.h | 1 - targets/TARGET_STM/TARGET_STM32F3/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32F4/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32F7/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32L0/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32L1/common_objects.h | 1 - targets/TARGET_STM/TARGET_STM32L4/common_objects.h | 1 - 9 files changed, 9 deletions(-) diff --git a/targets/TARGET_STM/TARGET_STM32F0/common_objects.h b/targets/TARGET_STM/TARGET_STM32F0/common_objects.h index 3bbfc82717..3f072f13d4 100644 --- a/targets/TARGET_STM/TARGET_STM32F0/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32F0/common_objects.h @@ -59,7 +59,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32F1/common_objects.h b/targets/TARGET_STM/TARGET_STM32F1/common_objects.h index e39a16c019..07258e1e73 100644 --- a/targets/TARGET_STM/TARGET_STM32F1/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32F1/common_objects.h @@ -78,7 +78,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32F2/objects.h b/targets/TARGET_STM/TARGET_STM32F2/objects.h index 5834dcd655..b386fa1a48 100644 --- a/targets/TARGET_STM/TARGET_STM32F2/objects.h +++ b/targets/TARGET_STM/TARGET_STM32F2/objects.h @@ -94,7 +94,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32F3/common_objects.h b/targets/TARGET_STM/TARGET_STM32F3/common_objects.h index fd235f0781..9294eaa71d 100644 --- a/targets/TARGET_STM/TARGET_STM32F3/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32F3/common_objects.h @@ -59,7 +59,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32F4/common_objects.h b/targets/TARGET_STM/TARGET_STM32F4/common_objects.h index 6d6f77e092..cb2a83ea12 100644 --- a/targets/TARGET_STM/TARGET_STM32F4/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32F4/common_objects.h @@ -78,7 +78,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32F7/common_objects.h b/targets/TARGET_STM/TARGET_STM32F7/common_objects.h index 1aa659360e..8e148fb648 100644 --- a/targets/TARGET_STM/TARGET_STM32F7/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32F7/common_objects.h @@ -59,7 +59,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32L0/common_objects.h b/targets/TARGET_STM/TARGET_STM32L0/common_objects.h index fd235f0781..9294eaa71d 100644 --- a/targets/TARGET_STM/TARGET_STM32L0/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32L0/common_objects.h @@ -59,7 +59,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32L1/common_objects.h b/targets/TARGET_STM/TARGET_STM32L1/common_objects.h index fbbbc9868a..830eaaaed4 100644 --- a/targets/TARGET_STM/TARGET_STM32L1/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32L1/common_objects.h @@ -76,7 +76,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif }; diff --git a/targets/TARGET_STM/TARGET_STM32L4/common_objects.h b/targets/TARGET_STM/TARGET_STM32L4/common_objects.h index fd235f0781..9294eaa71d 100644 --- a/targets/TARGET_STM/TARGET_STM32L4/common_objects.h +++ b/targets/TARGET_STM/TARGET_STM32L4/common_objects.h @@ -59,7 +59,6 @@ struct spi_s { PinName pin_ssel; #ifdef DEVICE_SPI_ASYNCH uint32_t event; - uint8_t module; uint8_t transfer_type; #endif };