From: Jani Nikula <jani.nikula@linux.intel.com>
To: Petri Latvala <petri.latvala@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 2/4] tools/intel_vbt_decode: Remove unused code
Date: Wed, 08 Mar 2017 17:10:55 +0200 [thread overview]
Message-ID: <874lz3iz28.fsf@intel.com> (raw)
In-Reply-To: <1488984275-8428-3-git-send-email-petri.latvala@intel.com>
On Wed, 08 Mar 2017, Petri Latvala <petri.latvala@intel.com> wrote:
> efp_conn() and related have been unused since 86a546f6f798
> ("tools/intel_bios_reader: Dump out more information from the child
> device structure")
>
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> ---
> tools/intel_vbt_decode.c | 22 ----------------------
> 1 file changed, 22 deletions(-)
>
> diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
> index 301cd1c..2984a11 100644
> --- a/tools/intel_vbt_decode.c
> +++ b/tools/intel_vbt_decode.c
> @@ -372,28 +372,6 @@ static const char *efp_port(uint8_t type)
> return "unknown";
> }
>
> -static const struct {
> - unsigned short type;
> - const char *name;
> -} efp_conn_info[] = {
> - { DEVICE_INFO_NONE, "N/A" },
> - { DEVICE_INFO_HDMI_CERT, "HDMI certified" },
> - { DEVICE_INFO_DP, "DisplayPort" },
> - { DEVICE_INFO_DVI, "DVI" },
> -};
> -static const int num_efp_conn_info = sizeof(efp_conn_info) / sizeof(efp_conn_info[0]);
> -
> -static const char *efp_conn(uint8_t type)
> -{
> - int i;
> -
> - for (i = 0; i < num_efp_conn_info; i++)
> - if (efp_conn_info[i].type == type)
> - return efp_conn_info[i].name;
> -
> - return "unknown";
> -}
> -
> static void dump_child_device(struct context *context,
> const struct child_device_config *child)
> {
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-03-08 15:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-08 14:44 [PATCH i-g-t 0/4] Removal of unused code Petri Latvala
2017-03-08 14:44 ` [PATCH i-g-t 1/4] lib/intel_device_info: Remove unused whitney definition Petri Latvala
2017-03-08 14:53 ` Chris Wilson
2017-03-08 15:11 ` Chris Wilson
2017-03-08 14:44 ` [PATCH i-g-t 2/4] tools/intel_vbt_decode: Remove unused code Petri Latvala
2017-03-08 15:10 ` Jani Nikula [this message]
2017-03-08 14:44 ` [PATCH i-g-t 3/4] tests/testdisplay: Remove unused SPRITE_COLOR_KEY Petri Latvala
2017-03-09 9:11 ` Mika Kahola
2017-03-08 14:44 ` [PATCH i-g-t 4/4] assembler/gen8_disasm.c: Remove unused m_mask_ctrl Petri Latvala
2017-03-09 12:01 ` Mika Kahola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lz3iz28.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=petri.latvala@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox