2024-05-05 23:11:17

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] parisc/math-emu: Remove unused struct 'exc_reg'

From: "Dr. David Alan Gilbert" <[email protected]>

This has been here since pre-git.

Build tested.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
arch/parisc/math-emu/driver.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/arch/parisc/math-emu/driver.c b/arch/parisc/math-emu/driver.c
index 6ce427b58836c..34495446e051c 100644
--- a/arch/parisc/math-emu/driver.c
+++ b/arch/parisc/math-emu/driver.c
@@ -26,12 +26,6 @@

#define FPUDEBUG 0

-/* Format of the floating-point exception registers. */
-struct exc_reg {
- unsigned int exception : 6;
- unsigned int ei : 26;
-};
-
/* Macros for grabbing bits of the instruction format from the 'ei'
field above. */
/* Major opcode 0c and 0e */
--
2.45.0



2024-05-10 13:10:17

by Helge Deller

[permalink] [raw]
Subject: Re: [PATCH] parisc/math-emu: Remove unused struct 'exc_reg'

On 5/6/24 01:10, [email protected] wrote:
> From: "Dr. David Alan Gilbert" <[email protected]>
>
> This has been here since pre-git.
>
> Build tested.
>
> Signed-off-by: Dr. David Alan Gilbert <[email protected]>

applied.
Thanks!
Helge

> ---
> arch/parisc/math-emu/driver.c | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/arch/parisc/math-emu/driver.c b/arch/parisc/math-emu/driverc
> index 6ce427b58836c..34495446e051c 100644
> --- a/arch/parisc/math-emu/driver.c
> +++ b/arch/parisc/math-emu/driver.c
> @@ -26,12 +26,6 @@
>
> #define FPUDEBUG 0
>
> -/* Format of the floating-point exception registers. */
> -struct exc_reg {
> - unsigned int exception : 6;
> - unsigned int ei : 26;
> -};
> -
> /* Macros for grabbing bits of the instruction format from the 'ei'
> field above. */
> /* Major opcode 0c and 0e */