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

linux@treblig.org posted 1 patch 1 week, 6 days ago
arch/parisc/math-emu/driver.c | 6 ------
1 file changed, 6 deletions(-)
[PATCH] parisc/math-emu: Remove unused struct 'exc_reg'
Posted by linux@treblig.org 1 week, 6 days ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

This has been here since pre-git.

Build tested.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 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
Re: [PATCH] parisc/math-emu: Remove unused struct 'exc_reg'
Posted by Helge Deller 1 week, 2 days ago
On 5/6/24 01:10, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> This has been here since pre-git.
>
> Build tested.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

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/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 */