diff options
| author | 2018-06-16 16:14:53 +0200 | |
|---|---|---|
| committer | 2018-06-28 21:48:04 +0900 | |
| commit | 41015d06e64fdafcbbb4ca17baf8a673f5ae3f09 (patch) | |
| tree | fa08be0c3795c71cf4a1a70f166970048318d19d /tools/perf/scripts | |
| parent | staging: mt7621-mmc: Remove variable num form msdc_dma_setup (diff) | |
staging: mt7621-mmc: Remove unnecessary BUG_ON() in msdc_dma_setup
The BUG_ON() removed by this patch is just a duplicate of a prior
BUG_ON() statement. There the condition is just clearer, it checks
weather sglen > MAX_BD_NUM and MAX_BD_NUM is equal MAX_BD_PER_GPD. So
this statement can be safely removed.
Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
