mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 03:59:22 +02:00
get_available_dsc_slices() returns the number of indices set, and all of
the users of get_available_dsc_slices() don't cross the returned bound
when iterating over available_slices[]. So, the memset() in
get_available_dsc_slices() is redundant and can be dropped.
Fixes:
|
||
|---|---|---|
| .. | ||
| dc_dsc.c | ||
| dscc_types.h | ||
| Makefile | ||
| rc_calc.c | ||
| rc_calc.h | ||
| rc_calc_dpi.c | ||