ALSA: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:

committato da
Takashi Iwai

parent
f3f6c61452
commit
44cc4a017e
@@ -166,11 +166,7 @@ static void ct_vm_unmap(struct ct_vm *vm, struct ct_vm_block *block)
|
||||
static dma_addr_t
|
||||
ct_get_ptp_phys(struct ct_vm *vm, int index)
|
||||
{
|
||||
dma_addr_t addr;
|
||||
|
||||
addr = (index >= CT_PTP_NUM) ? ~0UL : vm->ptp[index].addr;
|
||||
|
||||
return addr;
|
||||
return (index >= CT_PTP_NUM) ? ~0UL : vm->ptp[index].addr;
|
||||
}
|
||||
|
||||
int ct_vm_create(struct ct_vm **rvm, struct pci_dev *pci)
|
||||
|
Fai riferimento in un nuovo problema
Block a user