]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: atomisp: Remove redundant return statement
authorMahad Ibrahim <mahad.ibrahim.dev@gmail.com>
Sun, 4 Jan 2026 19:05:05 +0000 (00:05 +0500)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 20 May 2026 08:29:29 +0000 (11:29 +0300)
The function mmu_reg_store() returns void. The final return
statement is redundant as it is followed by the closing brace.

Remove the redundant return statement to simplify code and adhere to
kernel coding style.

Signed-off-by: Mahad Ibrahim <mahad.ibrahim.dev@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/mmu_public.h

index 1a435a348318286d537cb5664bc0012a97491a1d..2fc137ef46da1e887e82f9a15a805d26c63fdf13 100644 (file)
@@ -63,7 +63,6 @@ static inline void mmu_reg_store(
        assert(ID < N_MMU_ID);
        assert(MMU_BASE[ID] != (hrt_address) - 1);
        ia_css_device_store_uint32(MMU_BASE[ID] + reg * sizeof(hrt_data), value);
-       return;
 }
 
 /*! Read from a control register of MMU[ID]