From 2e58bb4a3327d2842f8537bf994c623c9eee8cc6 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Sun, 19 Mar 2017 18:03:13 +0530 Subject: [PATCH] staging: media: atomisp: Remove unnecessary blank lines. Remove multiple blank lines, which are not required. This patch fixes the following check patch issue: CHECK: Please don't use multiple blank lines Signed-off-by: Varsha Rao Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- .../atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c | 2 -- .../css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c | 5 ----- .../staging/media/atomisp/pci/atomisp2/css2400/sh_css_mipi.c | 2 -- .../media/atomisp/platform/intel-mid/atomisp_gmin_platform.c | 2 -- 4 files changed, 11 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c index c96340d8c68f..5d58dc178c19 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/ctc/ctc2/ia_css_ctc2.host.c @@ -29,8 +29,6 @@ const struct ia_css_ctc2_config default_ctc2_config = { BASIC_VAL * 8, INEFFECTIVE_VAL, INEFFECTIVE_VAL, BASIC_VAL >> 1, BASIC_VAL}; - - /* (dydx) = ctc2_slope(y1, y0, x1, x0) * ----------------------------------------------- * Calculation of the Slope of a Line = ((y1 - y0) >> 8)/(x1 - x0) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c index 9355b445bd6b..f61bfab8e442 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/isp/kernels/xnr/xnr_3.0/ia_css_xnr3.host.c @@ -51,7 +51,6 @@ static const int16_t b[XNR3_LOOK_UP_TABLE_POINTS] = { static const int16_t c[XNR3_LOOK_UP_TABLE_POINTS] = { 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; - /* #endif * Default kernel parameters. In general, default is bypass mode or as close @@ -224,7 +223,6 @@ ia_css_xnr3_vmem_encode( to->c[0][i] = 0; } - /* Constraints on "x": * - values should be greater or equal to 0. * - values should be ascending. @@ -237,7 +235,6 @@ ia_css_xnr3_vmem_encode( } - /* The implementation of the calulating 1/x is based on the availability * of the OP_vec_shuffle16 operation. * A 64 element vector is split up in 4 blocks of 16 element. Each array is copied to @@ -257,8 +254,6 @@ ia_css_xnr3_vmem_encode( } } - - #endif /* Dummy Function added as the tool expects it*/ void diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_mipi.c b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_mipi.c index fdbb96a58b87..8bc1ca07957f 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_mipi.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/sh_css_mipi.c @@ -209,7 +209,6 @@ ia_css_mipi_frame_calculate_size(const unsigned int width, * payload lines. */ - words_per_odd_line = (odd_line_bytes + 3) >> 2; /* ceil(odd_line_bytes/4); word = 4 bytes */ words_per_even_line = (even_line_bytes + 3) >> 2; @@ -251,7 +250,6 @@ ia_css_mipi_frame_enable_check_on_size(const enum ia_css_csi2_port port, OP___assert(port < N_CSI_PORTS); OP___assert(size_mem_words != 0); - for (idx = 0; idx < IA_CSS_MIPI_SIZE_CHECK_MAX_NOF_ENTRIES_PER_PORT && my_css.mipi_sizes_for_check[port][idx] != 0; idx++) { /* do nothing */ diff --git a/drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c b/drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c index 81651549a52d..5b4506a71126 100644 --- a/drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c +++ b/drivers/staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c @@ -29,7 +29,6 @@ #define ELDO2_1P8V 0x16 #define ELDO2_CTRL_SHIFT 0x01 - struct gmin_subdev { struct v4l2_subdev *subdev; int clock_num; @@ -489,7 +488,6 @@ int gmin_v1p8_ctrl(struct v4l2_subdev *subdev, int on) return regulator_disable(gs->v1p8_reg); } - return -EINVAL; } -- 2.30.2