mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-11 17:20:30 +00:00
spi/bfin_spi: uninline fat queue funcs
There's no need for these queue funcs to be inlined, so drop the markings. This shaves off a few hundred duplicated bytes. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
ddc0bf13d6
commit
c52d4e5f3c
1 changed files with 4 additions and 4 deletions
|
@ -1186,7 +1186,7 @@ static void bfin_spi_cleanup(struct spi_device *spi)
|
||||||
spi_set_ctldata(spi, NULL);
|
spi_set_ctldata(spi, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
|
static int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
|
||||||
{
|
{
|
||||||
INIT_LIST_HEAD(&drv_data->queue);
|
INIT_LIST_HEAD(&drv_data->queue);
|
||||||
spin_lock_init(&drv_data->lock);
|
spin_lock_init(&drv_data->lock);
|
||||||
|
@ -1208,7 +1208,7 @@ static inline int bfin_spi_init_queue(struct bfin_spi_master_data *drv_data)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
|
static int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
|
@ -1230,7 +1230,7 @@ static inline int bfin_spi_start_queue(struct bfin_spi_master_data *drv_data)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
|
static int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
unsigned limit = 500;
|
unsigned limit = 500;
|
||||||
|
@ -1259,7 +1259,7 @@ static inline int bfin_spi_stop_queue(struct bfin_spi_master_data *drv_data)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int bfin_spi_destroy_queue(struct bfin_spi_master_data *drv_data)
|
static int bfin_spi_destroy_queue(struct bfin_spi_master_data *drv_data)
|
||||||
{
|
{
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue